using System;

namespace RobotRules
{
    /// <summary>
    /// The exception that is thrown when the specified URI does not match the site to which
    /// the robot control file referred.
    /// </summary>
    [Serializable]
    public class SiteMismatchException : RobotException
    {
// ReSharper disable InconsistentNaming
        private const string DEFAULT_MESSAGE =
            "The parser cannot evaluate the URI because it is part of a different site.";
// ReSharper restore InconsistentNaming

#pragma warning disable 1591
        public SiteMismatchException() : base(DEFAULT_MESSAGE)

        {
        }

        public SiteMismatchException(string message) : base(message)
        {
        }

        public SiteMismatchException(string message, Exception inner) : base(message, inner)
        {
        }
#pragma warning restore 1591
    }
}